package com.ww.testserver.order;

import java.io.Serializable;
import java.util.List;

public class OrderEntity implements Serializable {
    private int orderId;
    private String userId;
    private String orderData;
    private List<String> message;

    private boolean submit;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderData() {
        return orderData;
    }

    public void setOrderData(String orderData) {
        this.orderData = orderData;
    }

    public List<String> getMessage() {
        return message;
    }

    public void setMessage(List<String> message) {
        this.message = message;
    }

    public boolean isSubmit() {
        return submit;
    }

    public void setSubmit(boolean submit) {
        this.submit = submit;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "orderId='" + orderId + '\'' +
                ", userId='" + userId + '\'' +
                ", orderData='" + orderData + '\'' +
                ", message=" + message +
                '}';
    }
}
